package map_set.map.hash;

import java.util.HashSet;
import java.util.Set;

public class Test {

    private static void test1() {
        HashBuck hb = new HashBuck();
        hb.push(1, 1);
        hb.push(2, 2);
        hb.push(3, 3);
        hb.push(4, 4);
        hb.push(5, 5);
        hb.push(6, 6);
        hb.push(15, 6);
        System.out.println(hb.getVal(15));
    }

    private static void test2() {
        HashBuck2<String, Integer> hb = new HashBuck2<>();
        hb.push("a", 1);
        hb.push("b", 2);
        hb.push("c", 3);
        hb.push("d", 4);
        hb.push("e", 5);
        hb.push("f", 6);
        hb.push("15", 6);
        System.out.println(hb.getVal("15"));
    }


    public static void main(String[] args) {
//        test1();
        test2();
        String s = "abcdefghijklmnopqrstuvwxyz";
    }
}
